3.2 \(\int x^2 \log (c x) \, dx\)

Optimal. Leaf size=19 \[ \frac {1}{3} x^3 \log (c x)-\frac {x^3}{9} \]

[Out]

-1/9*x^3+1/3*x^3*ln(c*x)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {2304} \[ \frac {1}{3} x^3 \log (c x)-\frac {x^3}{9} \]

Antiderivative was successfully verified.

[In]

Int[x^2*Log[c*x],x]

[Out]

-x^3/9 + (x^3*Log[c*x])/3

Rule 2304

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log[c*x^
n]))/(d*(m + 1)), x] - Simp[(b*n*(d*x)^(m + 1))/(d*(m + 1)^2), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rubi steps

\begin {align*} \int x^2 \log (c x) \, dx &=-\frac {x^3}{9}+\frac {1}{3} x^3 \log (c x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 19, normalized size = 1.00 \[ \frac {1}{3} x^3 \log (c x)-\frac {x^3}{9} \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*Log[c*x],x]

[Out]

-1/9*x^3 + (x^3*Log[c*x])/3

________________________________________________________________________________________

fricas [A]  time = 0.43, size = 15, normalized size = 0.79 \[ \frac {1}{3} \, x^{3} \log \left (c x\right ) - \frac {1}{9} \, x^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*log(c*x),x, algorithm="fricas")

[Out]

1/3*x^3*log(c*x) - 1/9*x^3

________________________________________________________________________________________

giac [A]  time = 0.26, size = 15, normalized size = 0.79 \[ \frac {1}{3} \, x^{3} \log \left (c x\right ) - \frac {1}{9} \, x^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*log(c*x),x, algorithm="giac")

[Out]

1/3*x^3*log(c*x) - 1/9*x^3

________________________________________________________________________________________

maple [A]  time = 0.03, size = 16, normalized size = 0.84 \[ \frac {x^{3} \ln \left (c x \right )}{3}-\frac {x^{3}}{9} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*ln(c*x),x)

[Out]

-1/9*x^3+1/3*x^3*ln(c*x)

________________________________________________________________________________________

maxima [A]  time = 0.61, size = 15, normalized size = 0.79 \[ \frac {1}{3} \, x^{3} \log \left (c x\right ) - \frac {1}{9} \, x^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*log(c*x),x, algorithm="maxima")

[Out]

1/3*x^3*log(c*x) - 1/9*x^3

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 11, normalized size = 0.58 \[ \frac {x^3\,\left (\ln \left (c\,x\right )-\frac {1}{3}\right )}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*log(c*x),x)

[Out]

(x^3*(log(c*x) - 1/3))/3

________________________________________________________________________________________

sympy [A]  time = 0.11, size = 14, normalized size = 0.74 \[ \frac {x^{3} \log {\left (c x \right )}}{3} - \frac {x^{3}}{9} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*ln(c*x),x)

[Out]

x**3*log(c*x)/3 - x**3/9

________________________________________________________________________________________